package s2elinshu;

public class J14SetterGetter {
	private String name;
	private int kor;
	private int eng;
	private int mat;

	public J14SetterGetter() {
		// alt+shift+s --->>r을 누른 뒤 [generate getter and setters]가 뜨는데
		// alt+a로 모두 선택한 뒤 생성하면 쉬움
		// (단축기가 되지 않을 때, 빈 화면에 source-->>generate getter and setters -->>모두 선택 후 확인)
		
		
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getKor() {
		return kor;
	}

	public void setKor(int kor) {
		this.kor = kor;
	}

	public int getEng() {
		return eng;
	}

	public void setEng(int eng) {
		this.eng = eng;
	}

	public int getMat() {
		return mat;
	}

	public void setMat(int mat) {
		this.mat = mat;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}

} // J14SetterGetter class 닫음
